package com.demo.entity;

import java.util.Date;

/**
	 * <p>
	 * 文件信息表
	 * </p>
	 *
	 * @author xj
	 * @since 2017-05-09
	 */

public class BaseFile {


	private Integer id;
    /**
     * 文件唯一标识
     */
	private String sid;
    /**
     * 文件名
     */
	private String name;
    /**
     * 上传警员编号
     */
	private String policeId;
    /**
     * 上传警员所属部门编号
     */
	private String policeDep;
    /**
     * 上传设备的guid
     */

	private String deviceSerial;
    /**
     * 上传时间
     */

	private Date importTime;
    /**
     * 文件拍摄时间
     */

	private Date captureTime;
    /**
     * 开始拍摄时间
     */

	private Date startCaptureTime;
    /**
     * 媒体类型:1视频,2语音,3图像,0其他
     */
	private Integer type;
    /**
     * 媒体大小,单位BYTE
     */
	private Long size;
    /**
     * 媒体质量:1高清,2普清
     */
	private Integer quality;
    /**
     * 媒体播放时长,单位秒,图片与其他非媒体文件为0
     */
	private Integer duration;
    /**
     * 源媒体文件中心存储相对路径
     */
	private String path;
    /**
     * 转码后文件中心存储路径
     */

	private String playPath;
    /**
     * 媒体缩略图中心存储路径
     */
	private String thumbnail;
    /**
     * 工作站SID
     */

	private String workstationSid;
    /**
     * 采集工作站类型:0专用,1PC
     */

	private Integer workstationType;
    /**
     * 中心存储服务器SID
     */
	private String csid;
    /**
     * 工作站转码状态:0未转码,1已转码,2正在转码,3文件转码失败,4不需要转码
     */

	private Integer transStatus;
    /**
     * 源文件上传状态:0未上传,1已上传,2正在上传,3文件上传失败
     */

	private Integer aviUploadStatus;
    /**
     * 转码文件上传状态:0未上传,1已上传,2正在上传,3文件上传失败
     */

	private Integer flvUploadStatus;
    /**
     * 缩略图文件上传状态:0未上传,1已上传,2正在上传,3文件上传失败
     */

	private Integer tbUploadStatus;
    /**
     * 中心文件状态:0未设置,1删除
     */

	private Integer centerFileStatus;
    /**
     * 工作站文件状态:0未设置,1删除
     */

	private Integer wsFileStatus;
    /**
     * 文件记录状态:0正常,1已删除
     */
	private Integer status;
    /**
     * 重要性标记:默认0未标记,1标记为重要
     */

	private Integer isUnusual;
    /**
     * 已关联标记:默认0未关联,1已关联
     */

	private Integer isRelation;
    /**
     * 已标注标记:默认0未标记,1已标注
     */

	private Integer isMark;
    /**
     * 已评价打分标记:默认0未评价打分,1已评价打分无异常,2评价打分异常
     */

	private Integer isSupervision;
    /**
     * 是否为特殊存储期限:0否,1是
     */

	private Integer isSpestore;
    /**
     * 流媒体文件是否需要上传:0不需要,1需要)
     */

	private Integer flvNeedUpload;
    /**
     * 缩略图文件是否需要上传:0不需要,1需要
     */

	private Integer tbNeedUpload;
    /**
     * 原文件是否需要上传:0不需要,1需要
     */

	private Integer oriNeedUpload;
    /**
     * 记录是否上传上级服务器:0未上传,1已上传,大于2上传失败
     */

	private Integer uploadTsStatus;
    /**
     * 扩展
     */
	private String extend;

	private Integer indexUpload;

	private Integer fileUpload;

	private String fileLocalPath;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPoliceId() {
		return policeId;
	}

	public void setPoliceId(String policeId) {
		this.policeId = policeId;
	}

	public String getPoliceDep() {
		return policeDep;
	}

	public void setPoliceDep(String policeDep) {
		this.policeDep = policeDep;
	}

	public String getDeviceSerial() {
		return deviceSerial;
	}

	public void setDeviceSerial(String deviceSerial) {
		this.deviceSerial = deviceSerial;
	}

	public Date getImportTime() {
		return importTime;
	}

	public void setImportTime(Date importTime) {
		this.importTime = importTime;
	}

	public Date getCaptureTime() {
		return captureTime;
	}

	public void setCaptureTime(Date captureTime) {
		this.captureTime = captureTime;
	}

	public Date getStartCaptureTime() {
		return startCaptureTime;
	}

	public void setStartCaptureTime(Date startCaptureTime) {
		this.startCaptureTime = startCaptureTime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public Integer getQuality() {
		return quality;
	}

	public void setQuality(Integer quality) {
		this.quality = quality;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getPlayPath() {
		return playPath;
	}

	public void setPlayPath(String playPath) {
		this.playPath = playPath;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getWorkstationSid() {
		return workstationSid;
	}

	public void setWorkstationSid(String workstationSid) {
		this.workstationSid = workstationSid;
	}

	public Integer getWorkstationType() {
		return workstationType;
	}

	public void setWorkstationType(Integer workstationType) {
		this.workstationType = workstationType;
	}

	public String getCsid() {
		return csid;
	}

	public void setCsid(String csid) {
		this.csid = csid;
	}

	public Integer getTransStatus() {
		return transStatus;
	}

	public void setTransStatus(Integer transStatus) {
		this.transStatus = transStatus;
	}

	public Integer getAviUploadStatus() {
		return aviUploadStatus;
	}

	public void setAviUploadStatus(Integer aviUploadStatus) {
		this.aviUploadStatus = aviUploadStatus;
	}

	public Integer getFlvUploadStatus() {
		return flvUploadStatus;
	}

	public void setFlvUploadStatus(Integer flvUploadStatus) {
		this.flvUploadStatus = flvUploadStatus;
	}

	public Integer getTbUploadStatus() {
		return tbUploadStatus;
	}

	public void setTbUploadStatus(Integer tbUploadStatus) {
		this.tbUploadStatus = tbUploadStatus;
	}

	public Integer getCenterFileStatus() {
		return centerFileStatus;
	}

	public void setCenterFileStatus(Integer centerFileStatus) {
		this.centerFileStatus = centerFileStatus;
	}

	public Integer getWsFileStatus() {
		return wsFileStatus;
	}

	public void setWsFileStatus(Integer wsFileStatus) {
		this.wsFileStatus = wsFileStatus;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsUnusual() {
		return isUnusual;
	}

	public void setIsUnusual(Integer isUnusual) {
		this.isUnusual = isUnusual;
	}

	public Integer getIsRelation() {
		return isRelation;
	}

	public void setIsRelation(Integer isRelation) {
		this.isRelation = isRelation;
	}

	public Integer getIsMark() {
		return isMark;
	}

	public void setIsMark(Integer isMark) {
		this.isMark = isMark;
	}

	public Integer getIsSupervision() {
		return isSupervision;
	}

	public void setIsSupervision(Integer isSupervision) {
		this.isSupervision = isSupervision;
	}

	public Integer getIsSpestore() {
		return isSpestore;
	}
	
	public void setIsSpestore(Integer isSpestore) {
		this.isSpestore = isSpestore;
	}

	public Integer getFlvNeedUpload() {
		return flvNeedUpload;
	}

	public void setFlvNeedUpload(Integer flvNeedUpload) {
		this.flvNeedUpload = flvNeedUpload;
	}

	public Integer getTbNeedUpload() {
		return tbNeedUpload;
	}

	public void setTbNeedUpload(Integer tbNeedUpload) {
		this.tbNeedUpload = tbNeedUpload;
	}

	public Integer getOriNeedUpload() {
		return oriNeedUpload;
	}

	public void setOriNeedUpload(Integer oriNeedUpload) {
		this.oriNeedUpload = oriNeedUpload;
	}

	public Integer getUploadTsStatus() {
		return uploadTsStatus;
	}

	public void setUploadTsStatus(Integer uploadTsStatus) {
		this.uploadTsStatus = uploadTsStatus;
	}

	public String getExtend() {
		return extend;
	}

	public void setExtend(String extend) {
		this.extend = extend;
	}

	public Integer getIndexUpload() {
		return indexUpload;
	}

	public void setIndexUpload(Integer indexUpload) {
		this.indexUpload = indexUpload;
	}

	public Integer getFileUpload() {
		return fileUpload;
	}

	public void setFileUpload(Integer fileUpload) {
		this.fileUpload = fileUpload;
	}

	public String getFileLocalPath() {
		return fileLocalPath;
	}

	public void setFileLocalPath(String fileLocalPath) {
		this.fileLocalPath = fileLocalPath;
	}


}
